package com.nongfuspring.nongfu.pojo;

import java.io.Serializable;

public class Role implements Serializable {
    private  long id;
    private  String nameEn;
    private  String nameZh;

    public void setId(long id) {
        this.id = id;
    }

    public void setNameEn(String nameEn) {
        this.nameEn = nameEn;
    }

    public void setNameZh(String nameZh) {
        this.nameZh = nameZh;
    }

    public long getId() {
        return id;
    }

    public String getNameEn() {
        return nameEn;
    }

    public String getNameZh() {
        return nameZh;
    }

    public Role(long id, String nameEn, String nameZh) {
        this.id = id;
        this.nameEn = nameEn;
        this.nameZh = nameZh;
    }

    public Role() {
    }

    @Override
    public String toString() {
        return "Role{" +
                "id=" + id +
                ", nameEn='" + nameEn + '\'' +
                ", nameZh='" + nameZh + '\'' +
                '}';
    }
}
